package com.ljs.service;

import com.ljs.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserService {
    public List<User> selUser(int  index,int limit);
    public User selbyname(String username );
    public User selbyid(int id);
    public  boolean add(User user);
    public boolean update(User user);
    public  boolean delete(int id);
    public  int count();
}
